package com.lma.crm.post.service;

import java.util.List;

import com.lma.crm.department.domain.CrmDepartment;
import com.lma.crm.post.dao.CrmPostDao;
import com.lma.crm.post.domain.CrmPost;

public class CrmPostServiceImpl implements CrmPostService {

    private CrmPostDao crmPostDao;
    public void setCrmPostDao(CrmPostDao crmPostDao) {
        this.crmPostDao = crmPostDao;
    }
    
    @Override
    public List<CrmPost> findAll(CrmDepartment  crmDepartment) {
        return crmPostDao.findAll(crmDepartment);
    }

}
